/**
 * 
 */
package com.tvt.sexyapp_demo.appconfig.xml;

import java.util.ArrayList;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

/**
 * @author MR_HIEU
 * 
 */
@Root(name = "RunningApp")
public class XRunningApp {

	@Element(name = "DisplayConfirmPopup")
	private boolean mDisplayConfirmPopup;

	@Element(name = "PopupConfirm")
	private XPopupConfirm mPopupConfirm;

	@Element(name = "ItemPerPager")
	private int mItemPerPager;

	@ElementList(entry = "Item", inline = true)
	private ArrayList<XItem> mItems;

	public boolean isDisplayConfirmPopup() {
		return mDisplayConfirmPopup;
	}

	public void setDisplayConfirmPopup(boolean pDisplayConfirmPopup) {
		this.mDisplayConfirmPopup = pDisplayConfirmPopup;
	}

	public XPopupConfirm getPopupConfirm() {
		return mPopupConfirm;
	}

	public void setPopupConfirm(XPopupConfirm pPopupConfirm) {
		this.mPopupConfirm = pPopupConfirm;
	}

	public int getItemPerPager() {
		return mItemPerPager;
	}

	public void setItemPerPager(int pItemPerPager) {
		this.mItemPerPager = pItemPerPager;
	}

	public ArrayList<XItem> getItems() {
		return mItems;
	}

	public void setItems(ArrayList<XItem> pItems) {
		this.mItems = pItems;
	}

}
